﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ZLDC.Common.BaseUser
{
    public class ReportDB
    {
        public static string getReportConn(DBtype type)
        {
            switch (type)
            {
                case DBtype.zl101: return "server=192.168.168.101;database=zlhq;user=angry;pwd=hellobaby";
                case DBtype.zl181: return "server=192.168.1.181;database=zlhq_sz_old;user=kfb;pwd=kfb";
                case DBtype.zl80: return "server=192.168.168.80;database=zlhq;user=kfb;pwd=kfb168*)KFB";
                default: return "server=192.168.168.80;database=zlhq;user=kfb;pwd=kfb168*)KFB";
            }
        }
    }

    public enum DBtype
    {
        zl101, zl181, zl80
    }

}
